package com.cz.service.impl;

import com.cz.mapper.UserMapper;
import com.cz.pojo.User;
import com.cz.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Kartoffel
 * @create 2020-09-26-18:40
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User queryLogin(String username) {
        return userMapper.queryLogin(username);
    }
}
